
<script language="JavaScript">
<!--
function checkName(){
	ThinkAjax.send('__URL__/checkAccount/','ajax=1&account='+$F('account'));
}
//-->
</script>


<div class="pageContent">
	
	<form method="post" action="__URL__/insert/navTabId/__MODULE__?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">

			<div class="unit">
				<label>用户名（登陆账号）：</label>
				<input type="text" class="required" size="20" maxlength="20" name="account" />开头为字母（建议字母+手机号）
			</div>
            <div class="unit">
                <label>正式名称：</label>
                <input type="text" class="required" size="30" maxlength="20" name="nickname">
            </div>
            <div class="unit">
                <label>单位名称：</label>
                <input type="text" name="unitname" class="required" size="30" maxlength="30"/>
            </div>
            <div class="unit">
                <label>部门（大客户填编码）：</label>
                <input type="text" name="unit" size="30" maxlength="30"/>
            </div>
			<div class="unit">
				<label>密码：</label>
				<input type="text" name="password" size="30" maxlength="20" class="required alphanumeric"/>
			</div>
			<div class="unit">
				<label>Email：</label>
				<input type="text" name="email" size="30" maxlength="100" class="required email"/>
			</div>
			<div class="unit">
				<label>城市：</label>
				<SELECT name="city">
					<volist name="city_list" id="list">
						<option value="{$key}" >{$key}.{$list}</option>
					</volist>
				</SELECT>
			</div>
            <div class="unit">
                <label>角色：</label>
                <select name="role_id">
                    <option value="1">大客户组</option>
                    <option value="2">客服组（操作员）</option>
                    <option value="3">市管理员组</option>
                </select>
            </div>
			<div class="unit">
				<label>状态：</label>
				<select name="status">
					<option value="1">启用</option>
					<option value="0">禁用</option>
				</select>
			</div>
			<div class="unit">
				<label>QQ号：</label>
				<input type="text" name="qqnum" size="30" maxlength="20"/>
			</div>
            <div class="unit">
                <label>手机号：</label>
                <input type="text" name="mobilenum" size="30" maxlength="20" class="phone"/>
            </div>
            <div class="unit">
                <label>固定电话：</label>
                <input type="text" name="linenum" size="30" maxlength="20" class="phone"/>
            </div>
			<div class="unit">
				<label>备注：</label>
				<textarea name="remark" rows="3" cols="57"></textarea>
			</div>
			
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">添加</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>



